package org.jaaksi.demo.ptr.ui.base;

import org.jaaksi.demo.ptr.view.LoadMoreListView;

/**
 * Created by Fcy on 2016/3/16.<br/>
 */
public abstract class BaseListActivity2<D>
	extends BaseAdapterViewActivity<D, LoadMoreListView> {

	/*@Override
	protected void initLoadMoreView() {
		mAdapterView
			.setOnLoadMoreListener(new LoadMoreListView.OnLoadMoreListener() {
				@Override
				public void onLoadMore() {
					loadMore();
				}
			});
	}*/

	@Override
	protected void loadMoreFinish(int errorCode, boolean hasMore) {
		mAdapterView.setHasMore(hasMore);
	}
}
